﻿using System;
using System.Collections.Generic;
using System.Text;
using Zephyr.Core;

namespace Zephyr.Models
{
    [Module("Mms")]
    public class WP_JOBSCHEDULEService : ServiceBase<WP_JOBSCHEDULE>
    {
       
    }

    public class WP_JOBSCHEDULE : ModelBase
    {
        [PrimaryKey]   
        public string SCHCODE { get; set; }
        public string WORKLINE { get; set; }
        public decimal? SCHSEQNO { get; set; }
        public string PLANSOUR { get; set; }
        public string PROMATCODE { get; set; }
        public string PROMULA { get; set; }
        public string CREATOR { get; set; }
        public DateTime? CREADATE { get; set; }
        public string ORDERNO { get; set; }
        public string PBILL { get; set; }
        public decimal? PLANQTY { get; set; }
        public decimal? STARTQTY { get; set; }
        public decimal? FINIQTY { get; set; }
        public DateTime? PLANSTARTDATE { get; set; }
        public DateTime? PLANFINDATE { get; set; }
        public DateTime? STARTDATE { get; set; }
        public DateTime? FINIFDATE { get; set; }
        public decimal? PROSTATE { get; set; }
        public decimal? PROQUASTATE { get; set; }
        public string PROPACK { get; set; }
        public string PROREQUIRE { get; set; }
        public DateTime? SCHEDUDATE { get; set; }
        public DateTime? DILIVERDATE { get; set; }
        public string PRORUTEING { get; set; }
        public string PROCODESTR { get; set; }
        public string PROCODEFORMAT { get; set; }
        public decimal? PROSTARTSERIALNO { get; set; }
        public string PLANTYPE { get; set; }
        public string WORKTEAM { get; set; }
        public string DESCRIPTION { get; set; }
        public decimal? PLTOTALTIMES { get; set; }
        public string BUSSMAN { get; set; }
        public decimal? LOADQTY { get; set; }
        public string PCLIENTTAG { get; set; }
        public string PCLIENTBANTCH { get; set; }
        public decimal? OLDPROSTATE { get; set; }
        public string BEGMAN { get; set; }
        public string ENDMAN { get; set; }
        public string SFTAG { get; set; }
        public decimal? LOADTAG { get; set; }
        public string CUSTID { get; set; }
        public string LABELFORMAT { get; set; }
        public string CONTACTNO { get; set; }
        public string CONTACTNAME { get; set; }
        public decimal? REPTAG { get; set; }
        public string EXDATA1 { get; set; }
        public string EXDATA2 { get; set; }
        public string EXDATA3 { get; set; }
        public string EXDATA4 { get; set; }
        public string EXDATA5 { get; set; }
    }
}
